Excel XLOOKUP and Other Lookup Functions: Create Easier and More Versatile Lookup Formulas with New Powerful Excel Functions (Excel 2019 Mastery Book 5) by George Nathan
Author:George, Nathan [George, Nathan]
Language: eng
Format: epub
Published: 2020-05-09T16:00:00+00:00
value1
Required. The first value is required. Values can be numbers, cell references, ranges, formulas, functions, or text. For this example, we will be using ranges.
[value2], …
Optional. You can add up to 253 additional values.
When we apply the CHOOSE function to our formula, we get the following:
=VLOOKUP(B3,CHOOSE({1,2},$F$3:$F$47,$E$3:$E$47),2,FALSE)
Formula explanation:
=VLOOKUP(B3,CHOOSE({1,2},$F$3:$F$47,$E$3:$E$47),2,FALSE)
Our table_array is E3:F47 and we want to return values in column E. We want a method in our formula that reverses the order of the columns, that is, put column E to the right of column F. The CHOOSE formula can do this:
CHOOSE({1,2},$F$3:$F$47,$E$3:$E$47)
This formula has F3:F47 as the value1 argument and E3:E47 as the value2 argument. Both ranges have been converted to absolute references.
The index_num argument of our CHOOSE function is {1,2}, which tells the function to return the data in the order value1 and value2 , that is, column F before column E.
With the range (E3:E47) as the second column in table_array, VLOOKUP can now lookup values in the first column (F3:F47), and return values from the second column E3:E47.
To populate the other cells in column C, we can fill down the formula. The absolute references we have used means the lookup and return ranges remain the same.
Tip : We can make this formula a little easier to understand by using full column references as long as there will be no other data in the columns apart from the data being used by the formula.
With full column references, the formula would look like this:
=VLOOKUP(B3,CHOOSE({1,2},F:F,E:E),2,FALSE)
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(8298)
Robo-Advisor with Python by Aki Ranin(8248)
Offensive Shellcode from Scratch by Rishalin Pillay(6390)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5623)
Ego Is the Enemy by Ryan Holiday(5294)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4527)
Python for ArcGIS Pro by Silas Toms Bill Parker(4465)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(4184)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(4183)
Liar's Poker by Michael Lewis(3370)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3334)
Speed Up Your Python with Rust by Maxwell Flitton(3280)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3251)
Extreme DAX by Michiel Rozema & Henk Vlootman(3237)
Agile Security Operations by Hinne Hettema(3161)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3151)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3122)
Cryptography Algorithms by Massimo Bertaccini(3057)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(3024)